﻿<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="WeekSumByCompany.aspx.cs" Inherits="Thksoft.Module.DataDetail.WeekSumByCompany" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html>

<html class="L_UI">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>周资金计划审批汇总表</title>
    <link href="/CSS/Main.css" rel="stylesheet" type="text/css" />
    <link href="/CSS/Buss.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/Content/lib/iview/styles/iview.css">
    <link href="/UserCotrols/My97DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <script src="/UserCotrols/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.7.min.js" type="text/javascript"></script>
    <style>
        .mytrclass td {
            height: 30px;
            text-align: right;
            padding-right: 8px;
            /*border-right:1px solid rgb(45,140,240);
            border-bottom:1px solid rgb(45,140,240);*/
        }

        .trhead td {
            background-color: rgb(98,178,232);
            color: #333333;
            height: 35px;
            line-height: 35px;
            text-align: center;
            font-size: 12px;
            /*border-right:1px solid rgb(45,140,240);
            border-bottom:1px solid rgb(45,140,240);*/
        }

        .mytrclass:nth-child(2n+1) {
            background-color: #CCEAFD;
            border: 1px solid #BAD4E1;
        }

        .mytrclass:hover {
            background-color: #d5e7ff;
            cursor: pointer;
        }

        .mytrclass td.left {
            text-align: left;
            text-indent: 10px;
        }
    </style>
    <script>
        $(function () {
            $("#FORM_PRINT_VALUE").val($("#mytable").html());
        });

        /*var timer
        $(document).ready(function() {
            timer = setInterval(AutoScroll, 500);

            $(".e_list_news").mouseover(
            function () {
                clearInterval(timer);
            })
            .mouseout(function () {
                timer = setInterval(AutoScroll, 500);
            });

            function AutoScroll() {
                $(".Pg-Content").find("#mytable:first").animate({
                    marginTop: "0px"
                }, 500, function () {
                    $(this).css({ marginTop: "0px" }).find(".mytrclass:first").appendTo(this);
                });
            }
        });*/
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Window" id="app" style="min-width: 1100px;">
            <div class="Header" style="height: 89px;">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                    <tr>
                        <td style="width: 7%; text-align: right; padding-right: 5px;">公&nbsp;&nbsp;&nbsp;&nbsp;司：
                        </td>
                        <td style="text-align: left; padding-left: 10px; width: 15%;">
                            <uc2:CtrlCompany runat="server" ID="FORM_COMPANY_ID" Width="200px" />
                        </td>
                        <td style="width: 7%; text-align: right; padding-right: 5px;">业务日期：
                        </td>
                        <td class="righttd">
                            <input type="text" runat="server" id="FORM_DATE" onclick="WdatePicker({ dateFmt: 'yyyy-MM' })" class="Wdate INPUT" style="width: 75px;" />
                            月<span style="color: Red;">*</span>
                            <asp:DropDownList ID="DropDownList3" runat="server" CssClass="INPUT" Width="35px">
                                <asp:ListItem Selected="True" Value="1">1 </asp:ListItem>
                                <asp:ListItem Value="2">2 </asp:ListItem>
                                <asp:ListItem Value="3">3 </asp:ListItem>
                                <asp:ListItem Value="4">4 </asp:ListItem>
                                <asp:ListItem Value="5">5 </asp:ListItem>
                            </asp:DropDownList>
                            周 <span style="color: Red;">*</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4" >
                            <asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="bt_css_s" OnClick="QUERY_CLICK" />&nbsp;
                        <asp:Button ID="btnDaochu" runat="server" Text="导出" CssClass="bt_css_s" OnClick="btnDaochu_Click" />&nbsp;
                        <asp:Button ID="btnPrint" runat="server" Text="打印" CssClass="bt_css_s" OnClick="btnPrint_Click" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="Content" style="top: 82px; overflow-y: auto;">
                <div class="Pg-Content">
                    <asp:Panel ID="Panel1" runat="server">
                        <table id="mytable" style="width: 100%; height: auto; border: 1px solid gray;">
                            <tr>
                                <th colspan="18" style="height: 40px; line-height: 40px; text-align: center; font-size: 20px; color: red;">周资金计划汇总表(<label id="lblDate" style="font-size: 18px;" runat="server"></label>)
                                </th>
                            </tr>
                            <tr class="trhead" style="font-weight: bold;">
                                <td rowspan="2">单位</td>
                                <td>本周收入</td>
                                <td colspan="14">本周支出计划审批</td>
                                <td>本周拨款</td>
                                <td rowspan="2">备注</td>
                            </tr>
                            <tr class="trhead">
                                <td>上报收入计划审批</td>
                                <td>天然气购入</td>
                                <td>工资薪酬</td>
                                <td>增值税及其他税费</td>
                                <td>安装外包支出</td>
                                <td>劳务外包费用</td>
                                <td>材料费用</td>
                                <td>大修费用</td>
                                <td>水电费</td>
                                <td>五项费用</td>
                                <td>代垫、代付费用</td>
                                <td>其他费用</td>
                                <td>投资支出</td>
                                <td>筹资支出</td>
                                <td>合计</td>
                                <td>财务资产部审批拨款金额</td>
                            </tr>
                            <%--<tr>
                                <td colspan="18" style="width: 100%; height: auto;">
                                    <div style="width: 100%; height: auto; overflow: scroll;">
                                        <table style="width: 100%; height: auto;">--%>
                            <asp:Repeater ID="Repeater1" runat="server">
                                <ItemTemplate>
                                    <tr class="mytrclass">
                                        <td style="text-align: left; padding-left: 8px;"><%#Eval("CMY_NAME")%></td>
                                        <td><%#Eval("SUM_PLAN")%></td>
                                        <td><%#Eval("SUM_ONE")%></td>
                                        <td><%#Eval("SUM_TWO")%></td>
                                        <td><%#Eval("SUM_THREE")%></td>
                                        <td><%#Eval("SUM_FOUR")%></td>
                                        <td><%#Eval("SUM_FIVE")%></td>
                                        <td><%#Eval("SUM_SIX")%></td>
                                        <td><%#Eval("SUM_SEVEN")%></td>
                                        <td><%#Eval("SUM_EIGHT")%></td>
                                        <td><%#Eval("SUM_NINE")%></td>
                                        <td><%#Eval("SUM_TEN")%></td>
                                        <td><%#Eval("SUM_ELEVEN")%></td>
                                        <td><%#Eval("SUM_TWELVE")%></td>
                                        <td><%#Eval("SUM_THIRTEEN")%></td>
                                        <td><%#Eval("SUM_CMY")%></td>
                                        <td><%#Eval("SUM_USE")%></td>
                                        <td style="text-align: left; padding-left: 8px;"><%#Eval("REMARK")%></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                            <%--</table>
                                    </div>
                                </td>
                            </tr>--%>
                        </table>
                        <asp:HiddenField runat="server" ID="FORM_PRINT_VALUE" />
                    </asp:Panel>
                </div>
                <%--<div class="Pg">
                    <asp:HyperLink ID="lnkPrev" runat="server">上页</asp:HyperLink>
                    <asp:HyperLink ID="lnkNext" runat="server">下页</asp:HyperLink>第
                    <asp:Label ID="lblCurrentPage" runat="server"></asp:Label>页 共
                    <asp:Label ID="lblTotalPage" runat="server"></asp:Label>页
                </div>--%>
            </div>
    </form>
</body>
</html>